<?php

declare (strict_types=1);

namespace App\Constants;

class Code
{
    const OK = 0;
    const ERROR = 1;
    const VALIDATE_FAIL = 2;
    const RECORD_NOT_EXIST = 3;
    const UNAUTHORIZED = 4;
    const CONNECTION_ERROR = 4;
    const PROGRAM_ERROR = 5;

    const INVALID_PAY_METHOD = 101;
    const ORDER_ALREADY_PAID = 102;
    const PAY_ERROR_CONFIG = 103;
}